package com.project.hqshorttaxi.service;

import com.project.hqshorttaxi.dto.*;
import com.project.hqshorttaxi.entity.ShortDistance;

import java.util.List;

public interface ShortDistanceService {

    ShortDistance getById(Integer id);

    void insert(ShortDistance entity) throws Exception;

    List<ShortDistanceDto> list(ShortDistanceParam param);

    List<ShortDistance> boardList(BoardParam param);

    ShortDistance getByPlateAndDate(ShortDistanceParam param);

    List<ShortDistanceStatDto> getTotal(ShortDistanceStatParam param);

    List<ShortDistanceStatDto> getTotalAll(ShortDistanceStatParam param);

    List<ShortDistanceStatDto> getTotalByRefuse(ShortDistanceStatParam param);

    List<ShortDistanceExcelDto> getOutputList(ShortDistanceParam param);

    List<ShortDistance> getExportByPlateAndDate(ShortDistanceParam param);

    List<ShortDistance> getExportByPlateAndDate2(ShortDistanceParam param);
}
